package com.demo.service;

import com.demo.annotation.MyService;
import com.demo.bean.PositionRequest;
import com.demo.bean.PositionVO;

@MyService
public class AdsService {

    public PositionVO getAds(PositionRequest positionReq) {
        return PositionVO.builder()
                .title("Ad for " + positionReq.getPosName())
                .price(100.0)
                .imageUrl("https://www.google.com")
                .build();
    }

}
